<!-- BEGIN: body -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Shopnmatch</title>
<link rel="stylesheet" media="screen" href="<?php echo $snmINSTALLDIR ?>skins/<?php echo $snmSKIN ?>/styleSheets/style.css" type="text/css" />
<link rel="stylesheet" media="screen" href="<?php echo $snmINSTALLDIR ?>skins/<?php echo $snmSKIN ?>/styleSheets/blueprint/screen.css" type="text/css" />
<link rel="stylesheet" media="screen" href="<?php echo $snmINSTALLDIR ?>skins/<?php echo $snmSKIN ?>/styleSheets/anylinkmenu.css" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="News Feed" href="<?php echo $snmINSTALLDIR ?>feeds/newsfeed.php" />
<link rel="alternate" type="application/rss+xml" title="Popular Products Feed" href="<?php echo $snmINSTALLDIR ?>feeds/popularproductsfeed.php" />
<link rel="Shortcut Icon" href="<?php echo $snmINSTALLDIR ?>favicon.ico" />
<script language="javascript" type="text/javascript">
function imgerr(img) {
img.src='<?php echo $snmINSTALLDIR ?>skins/<?php echo $snmSKIN ?>/styleImages/unavailable-prod.gif';
}
</script>
<script language="javascript" type="text/javascript">
	var installDir = '<?php echo $snmINSTALLDIR ?>';
</script>
<script language=javascript>
//set the bookmark image position(topright,topleft,bottomright,bottomleft)  
var corner = "topright";
var url = window.location;
var title = document.title;
document.write('<div id=ddd style="position: absolute; visibility: visible; top: 5px; left:5px;">');
document.write('<a style="font-size:10px; text-decoration: none;" class="linkGroup" href="javascript:bookmark(title, url)" title="click here to bookmark this page">BOOKMARK ShopNMatch</a></div>');
var os;
if(document.layers)
 os = "n4";
else if(document.getElementById&&!document.all)
 os = "n6";
else if(document.all)
 os = "ie";
function run()
{
 if(os == "ie"){
   pwidth = window.document.body.offsetWidth;
   pheight = window.document.body.offsetHeight;
   stop = document.body.scrollTop;
   sleft = document.body.scrollLeft;
 }else{
   pwidth = window.innerWidth;
   pheight = window.innerHeight;
   stop = window.pageYOffset;
   sleft = window.pageXOffset;
 }

  var dda = document.getElementById('ddd');
  if(corner == "topleft"){
    dda.style.top = (stop)+"px";
    dda.style.left = (sleft+15)+"px";  
  }else if(corner == "topright"){
    dda.style.top = (stop)+"px";
    dda.style.left = (sleft+pwidth-110)+"px";  
  }else if(corner == "bottomleft"){
    dda.style.top = (stop+pheight-45)+"px";
    dda.style.left = (sleft+15)+"px";  
  }else if(corner == "bottomright"){
    dda.style.top = (stop+pheight-40)+"px";
    dda.style.left = (sleft+pwidth-110)+"px";  
  }
  setTimeout('run()',5);
}

function bookmark(title,url){
	if(window.sidebar) 
          window.sidebar.addPanel(title,url,"");
	else if(window.opera && window.print){
          var elem = document.createElement('a');
          elem.setAttribute('href',url);
          elem.setAttribute('title',title);
          elem.setAttribute('rel','sidebar');
          elem.click();
	}
	else if(os == "ie")
          window.external.AddFavorite(url,title);
}
document.onload = run();
</script>
<script type="text/javascript" src="<?php echo $snmINSTALLDIR ?>skins/<?php echo $snmSKIN ?>/styleJs/anylinkmenu.js"></script>
<script type="text/javascript" src="<?php echo $snmINSTALLDIR ?>skins/<?php echo $snmSKIN ?>/styleJs/menucontents.js"></script>
</head>

<body>

<div id="pageSurround">

	<div id="header">
		<a href="<?php echo $snmINSTALLDIR ?>"><?php echo $snmLogo ?></a>
		<ul id="top-nav">
			<?php if ($snmloggedInAffliate):?>
			<li><a href="<?php echo $snmINSTALLDIR ?>affliatenetwork/affiliates/index.php?Act=Home" />Your Control Panel</a></li>
			<?php else:?>
			
			<li><a href="<?php echo $snmINSTALLDIR ?>index.php?case=account&act=login" />Login as Merchant</a></li><br />
			<li><a href="<?php echo $snmINSTALLDIR ?>affiliatenetwork/index.php?Act=login" />Login as Affiliate</a> or</li><br /><b>
			<li><a href="<?php echo $snmINSTALLDIR ?>index.php?case=account&act=register" />Register as a Merchant</a></li><br />
			<li><a href="<?php echo $snmINSTALLDIR ?>affiliatenetwork/index.php?Act=affil_regi" />Register as an Affiliate/Publisher</a></li></b>
			<?php endif;?>
		</ul>
	</div>
	
	<div id="barOne">
		<ul id="homeNav">
		<li class="<?php echo $snmHOMEPAGELI ?>"><a href="<?php echo $snmHOMELINK ?>" class="<?php echo $snmHOMEPAGELINK ?>">Home</a></li>
		<?php echo $snmPAGELINKSTOP ?>
		
		</ul>
		
		<?php echo $snmPAGELINKSTOPSUB ?>
	</div>
	
	<div id="header_bac">
		<div id="header_search">
			<div id="shopping">
			What are you shopping for?
			</div>
			<?php echo $snmSEARCHPROD?>
		</div>
	</div>